package edu.sctu.practice.class01.zhangwang.day2015_10_08.text08;

/**
 * Created by Z_W on 2015/10/9.
 */
public class Vehicles {
    public String brand;
    public String color;

    public Vehicles(String brand, String color) {
        this.brand = brand;
        this.color = color;
    }

    public void run(){
        System.out.println("我已经开动了。");
    }

    public void showInfo(){
        System.out.println("车的商标为："+brand+"。车的颜色为："+color);
    }
}
